package cpi.service;

import com.baomidou.mybatisplus.extension.service.IService;
import cpi.entity.Collection;

import java.util.List;
import java.util.Map;

/**
 * (Collection)表服务接口
 *
 * @author makejava
 * @since 2022-07-18 14:47:29
 */
public interface CollectionService extends IService<Collection> {
    List<Map<String,Object>> selectProvince();

    List<Map<String,Object>> selectType();

    List<Map<String,Object>> getByid(int id);

    boolean collect(String collect_name, String type,String province, int time);

    boolean delete(String type, String province, Integer time);

    boolean isProvince(String type, int time);

    boolean isType(String province, int time);
}

